<?php

namespace App\Admin\Controllers\Manger;

use Illuminate\Http\Request;

use App\Http\Controllers\Controller;
use App\Models\Admin\AdminUser;

class AdminController extends Controller
{
    /**
     * 获取列表
     */
    public function getlist(Request $request)
    {
        $list = AdminUser::select(['id', 'username', 'company_name'])->get()->toArray();
        return response()->json(['code' => '000', 'msg' => '操作成功', 'data' => ['list' => $list]]);
    }
}
